package com.example.pengsiyuan.ppbluetoothle.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.peng.ppscalelibrary.BleManager.Model.LFPeopleGeneral;

public class BodyDataModel extends LFPeopleGeneral implements Parcelable {


    protected BodyDataModel(Parcel in) {
    }

    public static final Creator<BodyDataModel> CREATOR = new Creator<BodyDataModel>() {
        @Override
        public BodyDataModel createFromParcel(Parcel in) {
            return new BodyDataModel(in);
        }

        @Override
        public BodyDataModel[] newArray(int size) {
            return new BodyDataModel[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(getLfFatLevel());
        dest.writeDouble(getLfWeightKg());
        dest.writeDouble(getLfBodyfatPercentage());
    }
}
